{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\David\Desktop\Friends 26th March.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}26 Mar 2019, 16:16:27

{com}. recode discussantsAskedYouToVote (9999 = 0)
{txt}(discussantsAskedYouToVote_first: 111 changes made)

{com}. 
. recode efficacyNotUnderstandW1 (9999= 3)
{txt}(efficacyNotUnderstandW1: 44 changes made)

{com}. logit VotedEU i.ApproveL1 i.DiscussantVoted Female DegreeorMore OverallPartyContact DiscussPolitics Age2635 Age3645 Age4655 Age5665 Age66plus DutyW1 PoliticalAtttentionW1 efficacyNotUnderstandW1 c.PIDStrengthCatW1 i.discussantsAskedYouToVote i.ApproveL1#i.DiscussantVoted, robust

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-4694.3248}  
Iteration 1:{space 3}log pseudolikelihood = {res:-3846.2783}  
Iteration 2:{space 3}log pseudolikelihood = {res:-3746.6766}  
Iteration 3:{space 3}log pseudolikelihood = {res:-3745.2392}  
Iteration 4:{space 3}log pseudolikelihood = {res:-3745.2373}  
Iteration 5:{space 3}log pseudolikelihood = {res:-3745.2373}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     9,713
{txt}{col 49}Wald chi2({res}17{txt}){col 67}= {res}   1331.29
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-3745.2373{txt}{col 49}Pseudo R2{col 67}= {res}    0.2022

{txt}{hline 32}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 33}{c |}{col 45}    Robust
{col 1}                        VotedEU{col 33}{c |}      Coef.{col 45}   Std. Err.{col 57}      z{col 65}   P>|z|{col 73}     [95% Con{col 86}f. Interval]
{hline 32}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}1.ApproveL1 {c |}{col 33}{res}{space 2} .6441513{col 45}{space 2} .1043675{col 56}{space 1}    6.17{col 65}{space 3}0.000{col 73}{space 4} .4395948{col 86}{space 3} .8487078
{txt}{space 8}1.DiscussantVoted_first {c |}{col 33}{res}{space 2} .8172123{col 45}{space 2} .0792929{col 56}{space 1}   10.31{col 65}{space 3}0.000{col 73}{space 4} .6618011{col 86}{space 3} .9726235
{txt}{space 25}Female {c |}{col 33}{res}{space 2}-.2232469{col 45}{space 2}   .06043{col 56}{space 1}   -3.69{col 65}{space 3}0.000{col 73}{space 4}-.3416874{col 86}{space 3}-.1048064
{txt}{space 19}DegreeorMore {c |}{col 33}{res}{space 2}  .174569{col 45}{space 2} .0618691{col 56}{space 1}    2.82{col 65}{space 3}0.005{col 73}{space 4} .0533079{col 86}{space 3} .2958302
{txt}{space 12}OverallPartyContact {c |}{col 33}{res}{space 2} .6170599{col 45}{space 2} .0645474{col 56}{space 1}    9.56{col 65}{space 3}0.000{col 73}{space 4} .4905494{col 86}{space 3} .7435704
{txt}{space 16}DiscussPolitics {c |}{col 33}{res}{space 2} .1334012{col 45}{space 2} .0154088{col 56}{space 1}    8.66{col 65}{space 3}0.000{col 73}{space 4} .1032005{col 86}{space 3} .1636019
{txt}{space 24}Age2635 {c |}{col 33}{res}{space 2} .1496044{col 45}{space 2} .1313921{col 56}{space 1}    1.14{col 65}{space 3}0.255{col 73}{space 4}-.1079194{col 86}{space 3} .4071281
{txt}{space 24}Age3645 {c |}{col 33}{res}{space 2}   .67045{col 45}{space 2} .1313763{col 56}{space 1}    5.10{col 65}{space 3}0.000{col 73}{space 4} .4129572{col 86}{space 3} .9279428
{txt}{space 24}Age4655 {c |}{col 33}{res}{space 2} .8310789{col 45}{space 2} .1259371{col 56}{space 1}    6.60{col 65}{space 3}0.000{col 73}{space 4} .5842468{col 86}{space 3} 1.077911
{txt}{space 24}Age5665 {c |}{col 33}{res}{space 2} .9340196{col 45}{space 2} .1188024{col 56}{space 1}    7.86{col 65}{space 3}0.000{col 73}{space 4} .7011712{col 86}{space 3} 1.166868
{txt}{space 22}Age66plus {c |}{col 33}{res}{space 2}  1.19041{col 45}{space 2} .1219352{col 56}{space 1}    9.76{col 65}{space 3}0.000{col 73}{space 4} .9514214{col 86}{space 3} 1.429399
{txt}{space 25}DutyW1 {c |}{col 33}{res}{space 2} .9408605{col 45}{space 2}  .069002{col 56}{space 1}   13.64{col 65}{space 3}0.000{col 73}{space 4} .8056191{col 86}{space 3} 1.076102
{txt}{space 10}PoliticalAtttentionW1 {c |}{col 33}{res}{space 2} .1153304{col 45}{space 2} .0178457{col 56}{space 1}    6.46{col 65}{space 3}0.000{col 73}{space 4} .0803535{col 86}{space 3} .1503072
{txt}{space 8}efficacyNotUnderstandW1 {c |}{col 33}{res}{space 2}-.0789454{col 45}{space 2} .0316206{col 56}{space 1}   -2.50{col 65}{space 3}0.013{col 73}{space 4}-.1409207{col 86}{space 3}-.0169701
{txt}{space 15}PIDStrengthCatW1 {c |}{col 33}{res}{space 2} .1773295{col 45}{space 2} .0370951{col 56}{space 1}    4.78{col 65}{space 3}0.000{col 73}{space 4} .1046244{col 86}{space 3} .2500346
{txt}{space 31} {c |}
discussantsAskedYouToVote_first {c |}
{space 27}Yes  {c |}{col 33}{res}{space 2} .0138879{col 45}{space 2} .2175473{col 56}{space 1}    0.06{col 65}{space 3}0.949{col 73}{space 4}-.4124969{col 86}{space 3} .4402727
{txt}{space 31} {c |}
ApproveL1#DiscussantVoted_first {c |}
{space 27}1 1  {c |}{col 33}{res}{space 2}   .22853{col 45}{space 2} .1447172{col 56}{space 1}    1.58{col 65}{space 3}0.114{col 73}{space 4}-.0551104{col 86}{space 3} .5121704
{txt}{space 31} {c |}
{space 26}_cons {c |}{col 33}{res}{space 2}-2.259443{col 45}{space 2} .2106054{col 56}{space 1}  -10.73{col 65}{space 3}0.000{col 73}{space 4}-2.672222{col 86}{space 3}-1.846664
{txt}{hline 32}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. margins, at (ApproveL1 = (0 1) DiscussantVoted_first  = (0 1))
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     9,713
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(VotedEU), predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted_first}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted_first}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted_first}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:ApproveL1}{space 7}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:DiscussantVoted_first}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .7232111{col 26}{space 2} .0067359{col 37}{space 1}  107.37{col 46}{space 3}0.000{col 54}{space 4} .7100089{col 67}{space 3} .7364133
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .8400648{col 26}{space 2} .0079938{col 37}{space 1}  105.09{col 46}{space 3}0.000{col 54}{space 4} .8243972{col 67}{space 3} .8557325
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .8189587{col 26}{space 2} .0123177{col 37}{space 1}   66.49{col 46}{space 3}0.000{col 54}{space 4} .7948166{col 67}{space 3} .8431009
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .9189855{col 26}{space 2} .0049788{col 37}{space 1}  184.58{col 46}{space 3}0.000{col 54}{space 4} .9092273{col 67}{space 3} .9287437
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. marginsplot

{text}{p 2 6 2}Variables that uniquely identify margins: ApproveL1 DiscussantVoted_first{p_end}
{res}
{com}. {res}{com}graph save Graph "C:\Users\David\Desktop\Friends Graph 26th March.gph"
{res}{txt}(file C:\Users\David\Desktop\Friends Graph 26th March.gph saved)
{com}log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\David\Desktop\Friends 26th March.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}26 Mar 2019, 16:44:21
{txt}{.-}
{smcl}
{txt}{sf}{ul off}